package com.jsp.mapper.impl;
import com.jsp.entity.Depart;
import com.jsp.mapper.DepartMapper;
import com.jsp.util.JdbcUtils;
import java.util.List;

public class DepartMapperImpl implements DepartMapper {
    @Override
//    查询部门表的字段
    public List<Depart> findAll() {
        String sql = "select BMDM,DWDM,BMID,BMMC,SFJY,PXH from T_DEPART";
        return JdbcUtils.findAll(Depart.class,sql,null);
    }
}
